home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Power Typing / Pro One: Power Typing.iso / PROGFILE.SET / CUSTOM.RUL next >
Text File  |  1995-12-27  |  8KB  |  255 lines

  1. /*----------------------------------------------------------------------------*\
  2.  *
  3.  *  CUSTOM.RUL
  4.  *
  5.  *  Sofsource Installation Packagee.
  6.  *  Copyright (c) 1995, Sofsource, Inc.  All rights  reserved.
  7.  *  Setup script written by:  Bob Falk
  8.  *         
  9.  *------------------------------------------------------------------------------
  10.  *  
  11.  *  Program-specific declarations for:  Power Typing
  12.  *
  13.  *                    Last updated on:  12/27/95
  14.  *
  15.  *------------------------------------------------------------------------------
  16.  *
  17.  *  Optionally place files in:  DATA\WINDR
  18.  *                              DATA\WINSYSDR
  19.  *                              DATA\TRUETYPE
  20.  *
  21. \*----------------------------------------------------------------------------*/
  22.  
  23. //#define DEBUG_CHECKS 1
  24.   // Define the above when extra debugging checks
  25.   // should be included in the installation script
  26.   // (defined automatically by BuildDBG.BAT)
  27.  
  28.  
  29. #define USE_LOG_FILE    1
  30. #define LOG_FILE_NAME "SOFSETUP.LOG"          // In WINDIR directory
  31. #define LOG_FILE_ICON "Read Setup Log for "   // In WINDIR directory
  32.  
  33. #ifdef DEBUG_CHECKS
  34.     #define LOG_FILE_DEFAULT TRUE
  35. #else
  36.     #define LOG_FILE_DEFAULT FALSE
  37. #endif
  38.  
  39.  
  40. // Documentation/READ-ME file definitions:
  41.  
  42. #define DOCUMENTATION_PRESENT 1
  43.   // Define the above if a README file is present
  44.  
  45. #ifdef DOCUMENTATION_PRESENT
  46.     #define DOC_FILE_NAME "WPT.DOC"
  47.     #define DOC_ICON_NAME "Power Typing Read Me"
  48. #endif
  49.  
  50.  
  51.  
  52. #define NUM_EXES_PRESENT 1
  53.   // Set the above to the number of executable files
  54.   // belonging to the product, for which icons will be made
  55.   // *** Use "-1" when WINHELP.EXE should execute a HLP file ***
  56.  
  57.  
  58.  
  59. // Special Case Involving Running From CD-ROM
  60.  
  61. //#define CDROM_ALWAYS_REQUIRED 1
  62.   // Define the above if the CD-ROM must always be inserted to use the program
  63.  
  64.  
  65.  
  66.  
  67. //#define EXE_RUN_FROM_CDROM 1
  68.   // Define the above if the EXE is started from the CD-ROM
  69.  
  70. #ifdef EXE_RUN_FROM_CDROM
  71.     #ifdef NUM_EXES_PRESENT >= 1
  72.         #define SRC_PATH_1_ON_CDROM "\\x\\"  // Always terminate with a backslash
  73.     #endif
  74.     #ifdef NUM_EXES_PRESENT >= 2
  75.         #define SRC_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  76.     #endif
  77.     #ifdef NUM_EXES_PRESENT >= 3
  78.         #define SRC_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  79.     #endif
  80.     #ifdef NUM_EXES_PRESENT >= 4
  81.         #define SRC_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  82.     #endif
  83. #endif
  84.  
  85.  
  86.  
  87.  
  88. //#define WORKING_DIR_ON_CDROM 1
  89.   // Define the above if the working directory should be on the CD-ROM
  90.   // otherwise the working directory will be the installation target directory
  91.  
  92. #ifdef WORKING_DIR_ON_CDROM
  93.     #ifdef NUM_EXES_PRESENT >= 1
  94.         #define WORK_PATH_1_ON_CDROM "\\x\\"  // Always terminate with a backslash
  95.     #endif
  96.     #ifdef NUM_EXES_PRESENT >= 2
  97.         #define WORK_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  98.     #endif
  99.     #ifdef NUM_EXES_PRESENT >= 3
  100.         #define WORK_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  101.     #endif
  102.     #ifdef NUM_EXES_PRESENT >= 4
  103.         #define WORK_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  104.     #endif
  105. #endif
  106.  
  107.  
  108.  
  109. //----- Constant declarations (also update LAUNCHER.DPR):
  110.  
  111. #define PRODUCT_LINE_NAME   "Personal Companion CD"
  112. //                      !!! |--------------------------------| 32 chars max length !!!
  113. #define APP_NAME            "Power Typing"
  114. //                      !!! |-----------------| 17 chars max length !!!
  115. #define EXTRAICONS_APP_NAME "Power Typing"
  116. #define APP_VERSION_NUMBER  "1.00"
  117. #define APP_UPC_CODE        "14008-4"
  118. #define PRODUCT_ID_FILENAME "ID140084.ID_"
  119.  
  120. #define SCREEN_CAPTION      "Personal Companion CD \"Power Typing\""
  121. #define APPBASE_PATH3X      "PcCd\\pTyping\\"
  122. #define APPBASE_PATH95      "PcCd\\pTyping\\"
  123.  
  124.   // Define the GROUP/Folder name below:
  125. //#define PROGRAM_FOLDER_NAME     "ProOne CD"
  126. //#define PROGRAM_FOLDER_NAME     "ProOne"
  127. //#define PROGRAM_FOLDER_NAME     "Personal Companion"
  128. #define PROGRAM_FOLDER_NAME     "Personal Companion CD"
  129. //#define PROGRAM_FOLDER_NAME     "Player's Palace"
  130. //#define PROGRAM_FOLDER_NAME     "WinStream"
  131. //#define PROGRAM_FOLDER_NAME     "High School Six-Pack"
  132. //#define PROGRAM_FOLDER_NAME     "Middle School Six-Pack"
  133. //#define PROGRAM_FOLDER_NAME     "Game Master Ten-Pack"
  134.  
  135. #define COMPRESSED_PROG_NAME    "PROGFILE.SET"
  136.  
  137.  
  138.  
  139. //----- SPECIAL-CASE Definitions:
  140.  
  141. //#define SPECIAL_CASE_TERM_PAPER 1
  142.   // Define the above if this is Windows Term Paper
  143.  
  144. //#define SPECIAL_CASE_BOOK_REPORT 1
  145.   // Define the above if this is Windows Book Report
  146.  
  147. //#define SPECIAL_CASE_RESUME 1
  148.   // Define the above if this is Windows Resume
  149.  
  150. //#define SPECIAL_CASE_MM_TRIVIA 1
  151.   // Define the above if this is Multimedia Trivia
  152.  
  153. //#define SPECIAL_CASE_WINDOWS_MADE_EASY 1
  154.   // Define the above if this is Windows Made Easy
  155.  
  156. //#define SPECIAL_CASE_TYPING_TEACHER 1
  157.   // Define the above if this is Multimedia Typing Teacher
  158.  
  159. //#define SPECIAL_CASE_EASY_TUTORIAL_WIN95 1
  160.   // Define the above if this is Easy Tutorial for Windows 95
  161.  
  162. //#define SPECIAL_CASE_OFFICE_SUITE 1
  163.   // Define the above if this is Office Suite
  164.  
  165.  
  166.  
  167. // Executable and Icon File Definitions:
  168.  
  169. #ifdef NUM_EXES_PRESENT >= 1
  170. //                  !!! |-----------------| 17 chars max length !!!
  171.     #define PROG_NAME_1 "Power Typing"
  172.     #define EXE_FILE_1  "WPT.EXE"
  173.     #define ICON_FILE_1 "WPT.EXE"
  174. #endif
  175. #ifdef NUM_EXES_PRESENT >= 2
  176.     #define PROG_NAME_2 ""
  177.     #define EXE_FILE_2  ""
  178.     #define ICON_FILE_2 ""
  179. #endif
  180. #ifdef NUM_EXES_PRESENT >= 3
  181.     #define PROG_NAME_3 ""
  182.     #define EXE_FILE_3  ""
  183.     #define ICON_FILE_3 ""
  184. #endif
  185. #ifdef NUM_EXES_PRESENT >= 4
  186.     #define PROG_NAME_4 ""
  187.     #define EXE_FILE_4  ""
  188.     #define ICON_FILE_4 ""
  189. #endif
  190. #ifdef NUM_EXES_PRESENT = -1
  191.     #define HELP_NAME_1 "?"
  192.     #define HLP_FILE_1  "?.HLP"
  193. #endif
  194.  
  195.  
  196. // The following are used in the registry for uninstall purposes:
  197.  
  198. #define COMPANY_NAME    "SofsourceInc"
  199. #define PRODUCT_NAME    "Power Typing"          // Will appear in Add/Remove Program's display
  200. #define PRODUCT_VERSION "1.00"
  201. #define PRODUCT_KEY     "WPT.EXE"                  // Used for path info key
  202. #define DEINSTALL_KEY   "Sof140084Ver100DeinstKey"
  203. //
  204. // Used as:  InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, PRODUCT_KEY );
  205. //           RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME );
  206. //           DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
  207.  
  208.  
  209. // The following are used in various dialog boxes:
  210.  
  211. #define LICENSE_TITLE  "Software License Agreement"
  212. #define LICENSE_FILE   "LICENSE.TXT"
  213. #define DESTPATH_TITLE "Specify Installation Destination"
  214.  
  215.  
  216. // Requirements definitions:
  217.  
  218.   //--- VIDEO FOR WINDOWS:
  219.   //
  220. //#define REQUIRES_VFW 1
  221.   // Define the above if Video For Windows is required
  222.  
  223.  
  224.   //--- Speaker Driver
  225.   //
  226. //#define REQUIRES_SPEAKER_DRIVER 1
  227.   // Define the above if the speaker driver should be installed
  228.  
  229.  
  230.   // Processor requirements (overridden by VFW):
  231. #ifdef REQUIRES_VFW
  232.  
  233.     #define REQUIRES_80386 1
  234. #else
  235.  
  236.       //--- CPU REQUIREMENTS:
  237.       //
  238.     #define REQUIRES_80286   1
  239.     //#define REQUIRES_80386   1
  240.     //#define REQUIRES_80486   1
  241.     //#define REQUIRES_PENTIUM 1
  242.  
  243. #endif
  244.  
  245.  
  246. //#define REQUIRES_WINDOWS95      1
  247.   // Define the above if Windows 95 is required.
  248.   // If Windows 95 is required, then define the following if
  249.   // the program will also run under Windows NT and/or Win32s.
  250.  
  251. #ifdef REQUIRES_WINDOWS95
  252.     #define OK_WINDOWSNT 1
  253.     #define OK_WIN32S    1
  254. #endif
  255.